package com.tian.job.user;

import com.tian.service.user.DelayDeleteCacheMessageService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * {@code @description:} TODO
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2025-03-11 10:45
 * {@code @version:} 1.0
 */
@Slf4j
@Component
public class DelayDeleteCacheMessageJob {
    @Resource
    private DelayDeleteCacheMessageService delayDeleteCacheMessageService;

    @Scheduled(cron ="${job.cron.delete-cache-message-job}")
    public void process() {
        log.info("延迟删除缓存消息发送失败。重新发送的定时任务");
//        delayDeleteCacheMessageService.process();
    }
}
